import {mergeSort as m} from '../mergeSort'
import { isSorted, randomArr } from '../util'
export const test = () => {
    const arr = randomArr(0, 1000, 900)
    // const arr = [37, 91, 18, 30, 96, 67, 19, 97, 61, 50]
    // console.log(arr)
    m(arr);
    // console.log(arr)
    p(arr)
}

const p = (arr: number[]) => {
    console.log(isSorted(arr))
}